package com.jiangchuang.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.time.LocalDate;

@Data
public class Dish {
    @ApiModelProperty(value = "菜品id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private String name;
    @ApiModelProperty(value = "菜品封面")
    private String cover;
    @ApiModelProperty(value = "点菜次数")
    private Integer num;
    @ApiModelProperty(value = "菜品种类id")
    private Integer typeId;
    @ApiModelProperty(value = "价格")
    private Float price;
    @ApiModelProperty(value = "步骤 html")
    private String step;
    @ApiModelProperty(value = "备注")
    private String mark;
    @ApiModelProperty(value = "参考链接")
    private String refUrl;
    private String isExport;
    @ApiModelProperty(value = "审核状态（0-未审核，1-文字已审核，2-图像已审核，3-审核不通过，4-审核通过）")
    private int reviewStatus;
    private LocalDate createTime;
}
